﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace Webservice.Contracts
{
    [DataContract(Name = "BehaviorClassifications")]
    public enum BehaviorClassificationsEnum
    {
        [EnumMember]
        ExcessiveAcceleration = 2,
        [EnumMember]
        HardTurn = 8,
        [EnumMember]
        SuddenBraking = 4,
        [EnumMember]
        Speeding = 1
    }

    [DataContract]
    public class Report
    {
        [DataMember]
        public string Grade { get; set; }
        [DataMember]
        public string VIN { get; set; }
        [DataMember]
        public string Points { get; set; }
        [DataMember]
        public DateTimeOffset Modified { get; set; }
        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public int Infractions { get; set; }
    }
}